<template>
	<view class="container">
		<view class="content">商户绑定失败</view>
		<view class="content1">您的手机号码未关联该商户.</view>
		<view class="content2">如需绑定该商户，请点击输入验证码进行验证.</view>
		<view class="content3">请联系该商户管理员索取验证码</view>
		<!-- 短信验证 -->
		<view class="button-wrap">
<!-- 			<button class="button-login" @click="navigateToVerification">
				<text class="wx-login loginText1">{{verification}}</text>
			</button> -->
		</view>
		<!-- 确认 -->
		<view class="button-wrap1">
			<button class="button-login1" @click="navigateToAccountLogin">
				<text class="wx-login1">{{accountLogin}}</text>
			</button>
		</view>
		<image src="../../static/BindingFailed.png"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				verification: '短信验证',
				accountLogin: '确定',
			}
		},

		methods: {
			// navigateToVerification() {
			// 	wx.navigateTo({
			// 		url: '/pages/login/create'
			// 	})
			// },
			navigateToAccountLogin() {
				wx.navigateTo({
					url: '/pages/merchant/index?bound=' + "0"
				})
			}
		}
	}
</script>

<style>
	.container {
		height: 100vh;
		text-align: center;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	image {
		width: 100vw;
		height: 100vh;
	}

	.content {
		text-align: center;
		color: #fff;
		position: fixed;
		font-size: 50rpx;
	}

	.content1 {
		text-align: center;
		color: #fff;
		position: fixed;
		margin-top: 50%;
	}

	.content2 {
		text-align: center;
		color: #fff;
		position: fixed;
		margin-top: 62%;
	}
	.content3 {
		text-align: center;
		color: #fff;
		position: fixed;
		margin-top: 74%;
	}
	
	.button-wrap {
		margin-top: 135vw;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		position: fixed;
	}
	
	.button-login {
		width: 80vw;
		height: 110rpx;
		border-radius: 20rpx;
		background: #ffff;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #222d65;
	}
	.button-wrap1 {
		margin-top: 170vw;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		position: fixed;
	}
	
	.button-login1 {
		width: 80vw;
		height: 110rpx;
		border-radius: 20rpx;
		background: #ffff;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #222d65;
	}
</style>